Resolve FFmpeg syntax errors when creating video sliders by generating image sequences with Python and stitching them via the concat demuxer.